Path: blob/master/Part 6 - Reinforcement Learning/Upper Confidence Bound/[Python] Upper Confidence Bound.ipynb
1009 views
Kernel: Python 3
Upper Confidence Bound
Data preprocessing
In [1]:
In [2]:
In [3]:
Out[3]:
Implementing the Upper Confidence Bound
In [4]:
In [5]:
Out[5]:
2178
In [6]:
Out[6]:
[4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4]
Visualizing the results
In [7]:
Out[7]:
Text(0,0.5,'Number of time each Ad was selected')